package com.lansea.wms.model.base;

import lombok.Data;
import org.springframework.stereotype.Component;

import javax.validation.constraints.Min;
@Data
@Component
public class BaseWarehouseAndUser extends BaseUser {

    @Min(value = 1, message = "请选择仓库")
    private Integer warehouseId;

    @Min(value = 1, message = "请选择库位")
    private Integer reservoirId;

    @Min(value = 1, message = "请选择货架")
    private Integer stockId;


    private String warehouseName;
    private String reservoirName;
    private String stockName;

    private String warehouseCode;
    private String reservoirCode;
    private String stockCode;


}
